//
//  SingleDetailsVCModel.m
//  项目A --半糖
//
//  Created by romana on 16/5/26.
//  Copyright © 2016年 romana. All rights reserved.
//

#import "SingleDetailsVCModel.h"
#import "SingleDetailsVCSecondModel.h"

@implementation SingleDetailsVCModel

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{


}

-(void)setClass_list:(NSMutableArray *)class_list{

    _class_list = class_list;
    NSMutableArray *array = [NSMutableArray array];
    for (NSDictionary *dic in _class_list) {
        SingleDetailsVCSecondModel *model = [[SingleDetailsVCSecondModel alloc] init];
        [model setValuesForKeysWithDictionary:dic];
        [array addObject:model];
    }

    _class_list = [NSMutableArray arrayWithArray:array];
}

@end
